/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.com.cotelasa.scp.to;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 *
 * @author WINDOWS 7
 */
@SuppressWarnings("serial")
public class LiquidacionTO implements Serializable {
    
    private Integer idArticulo;
    private String nomArticulo;
    private BigDecimal matIngresado;
    private BigDecimal matUsado;
    private BigDecimal devolucion;
    private BigDecimal cantComp;
    private String simbComp;
    private BigDecimal porcMerma;
    private BigDecimal merma;
    private BigDecimal saldo;

    public Integer getIdArticulo() {
        return idArticulo;
    }

    public void setIdArticulo(Integer idArticulo) {
        this.idArticulo = idArticulo;
    }

    public String getNomArticulo() {
        return nomArticulo;
    }

    public void setNomArticulo(String nomArticulo) {
        this.nomArticulo = nomArticulo;
    }

    public BigDecimal getMatIngresado() {
        return matIngresado;
    }

    public void setMatIngresado(BigDecimal matIngresado) {
        this.matIngresado = matIngresado;
    }

    public BigDecimal getMatUsado() {
        return matUsado;
    }

    public void setMatUsado(BigDecimal matUsado) {
        this.matUsado = matUsado;
    }

    public BigDecimal getPorcMerma() {
        return porcMerma;
    }

    public void setPorcMerma(BigDecimal porcMerma) {
        this.porcMerma = porcMerma;
    }

    public BigDecimal getMerma() {
        return merma;
    }

    public void setMerma(BigDecimal merma) {
        this.merma = merma;
    }

    public BigDecimal getSaldo() {
        return saldo;
    }

    public void setSaldo(BigDecimal saldo) {
        this.saldo = saldo;
    }
    
    @Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime
				* result
				+ ((idArticulo == null) ? 0 : idArticulo.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		LiquidacionTO other = (LiquidacionTO) obj;
		if (idArticulo == null) {
			if (other.idArticulo != null)
				return false;
		} else if (!idArticulo.equals(other.idArticulo))
			return false;
		return true;
	}

    public BigDecimal getDevolucion() {
        return devolucion;
    }

    public void setDevolucion(BigDecimal devolucion) {
        this.devolucion = devolucion;
    }

    public BigDecimal getCantComp() {
        return cantComp;
    }

    public void setCantComp(BigDecimal cantComp) {
        this.cantComp = cantComp;
    }

    public String getSimbComp() {
        return simbComp;
    }

    public void setSimbComp(String simbComp) {
        this.simbComp = simbComp;
    }
    
}
